<template>
  <div>
    <TabBar v-show="this.$store.state.isTabbarShow"></TabBar>
    <!--路由容器-->
    <section>
      <router-view></router-view>
    </section>
  </div>
</template>
<script>
import Vue from 'vue'
import Vant from 'vant'
import 'vant/lib/index.css'
import TabBar from '@/components/TabBar'
Vue.use(Vant)// 全局定义组件
export default {
  data () {
    return {

    }
  },
  components: {
    TabBar
  }
}
</script>
<style lang="scss">
*{
  margin: 0;
  padding: 0;
}
html,body{
  height: 80%;
}
section{
  padding-bottom: 3.125rem;
}
ul{
  list-style: none;
}

</style>